package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网格配置对象 ecard_grid_manage_list
 *
 * @author JHON
 * @date 2022-08-04
 */
public class EcardGridManage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 法人机构编号 */
    @Excel(name = "法人机构编号")
    private Long deptId;

    /** 网格编码 */
    @Excel(name = "网格编码")
    private String gridCode;

    /** 管理人 */
    @Excel(name = "管理人")
    private Long userId;

    /** 法人机构 */
    @Excel(name = "法人机构")
    private String deptName;
    /** 网格名称 */
    @Excel(name = "网格编码")
    private String gridName;
    /** 管理人 */
    @Excel(name = "管理人")
    private String userName;
    /** 状态            0-停用            1-启用 */
    @Excel(name = "状态            0-停用            1-启用")
    private String sts;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setGridCode(String gridCode) {
        this.gridCode = gridCode;
    }

    public String getGridCode() {
        return gridCode;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public String getSts() {
        return sts;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getGridName() {
        return gridName;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("gridCode", getGridCode())
                .append("userId", getUserId())
                .append("sts", getSts())
                .toString();
    }
}
